package com.hg.datagovernance.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hg.datagovernance.entity.DataSource;
import com.hg.datagovernance.mapper.DataSourceMapper;
import com.hg.datagovernance.service.DataSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

@Service
public class DataSourceServiceImpl implements DataSourceService {

    @Autowired
    DataSourceMapper dataSourceMapper;

    @Override
    public IPage<DataSource> listDataSource(IPage<DataSource> page) {
        return this.page(page);
    }


    @Override
    public Integer saveDataSource() {
        return null;
    }

    @Override
    public Integer removeDataSource() {
        return null;
    }

    @Override
    public Integer updateDataSource() {
        return null;
    }

    @Override
    public boolean saveBatch(Collection<DataSource> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<DataSource> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<DataSource> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(DataSource entity) {
        return false;
    }

    @Override
    public DataSource getOne(Wrapper<DataSource> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<DataSource> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<DataSource> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<DataSource> getBaseMapper() {
        return null;
    }

    @Override
    public Class<DataSource> getEntityClass() {
        return null;
    }
}
